package com.anolesoft.amljmes.fortysix.service.impl;

import com.anolesoft.amljmes.fortysix.controller.MesBzzFollowController;
import com.anolesoft.amljmes.fortysix.dto.MesBzzFollowDto;
import com.anolesoft.amljmes.fortysix.service.info.MesBzzFollowService;
import com.anolesoft.amljmes.fortysix.service.mapper.MesBzzFollowServiceMapper;
import com.anolesoft.common.core.domain.LoginUser;
import com.anolesoft.yr.util.SecurityUtils;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MesBzzFollowServiceImpl implements MesBzzFollowService {
    @Autowired
    MesBzzFollowServiceMapper mesBzzFollowServiceMapper;

    @Override
    public List<MesBzzFollowDto> queryMesBzzFollowInfo(MesBzzFollowController.DemoVO demoVO) {
        List<MesBzzFollowDto> queryMesBzzFollowDto=mesBzzFollowServiceMapper.queryMesBzzFollowSQL(demoVO);
        return queryMesBzzFollowDto;
    }

    @Override
    public int addMesBzzFollow(MesBzzFollowDto inFoDtoParam) {
        int count = mesBzzFollowServiceMapper.addMesBzzFollow(inFoDtoParam);
        return count;
    }
}
